html, body, div {
    margin: 0;
    padding: 0;
}

html, body {
    /*background: #F2FCFF;*/
    width: 100%;
    height: 100%;
    overflow: hidden;
    font: 13px/26px "Monaco", "Microsoft YaHei";
    text-align: center;
}

.window {
    position: absolute;
    background: #FFF;
    /*border: 1px solid #666;*/
    border: none;
    border-radius: 8px;
    box-shadow: 2px 2px 5px #888;
}

/*窗口列表样式*/
#windowsList {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    line-height: 30px;
    background: #fff;
    box-shadow: 3px 0 8px #888;
}

.windowTag {
    float: left;
    width: 100px;
    height: 100%;
    margin-right: 5px;
    color: #000;
    cursor: pointer;
    text-align: center;
}

.windowTagCurrent {
    float: left;
    width: 100px;
    height: 100%;
    margin-right: 5px;
    color: #000;
    background: #7AC7F2;
    cursor: pointer;
    font-weight: bold;
    border-radius: 3px;
    -moz-box-shadow: 0px 0px 1px #333333;
    -webkit-box-shadow: 0px 0px 1px #333333;
    box-shadow: 0px 0px 1px #333333;
    text-align: center;

}

#menu {
    float: left;
    width: 80px;
    height: 100%;
    margin-right: 20px;
}

#createWindowButton {
}

#systemTime {
    float: right;
    width: 140px;
    height: 100%;
}

.userinfo {
    float: right;
    width: 43px;
    height: 30px;
    margin-right: 5px;
    line-height: 30px;
    vertical-align: middle;
    color: #a3a7b4;
}

.userinfo:hover {
    background-color: rgba(115, 114, 113, 0.12);
}

.userinfo > img {
    width: 25px;
    height: 25px;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 2px;
}

.usermenu {
    float: right;
}

/*窗口样式*/
/*标题栏*/
.windowHeader {
    position: relative;
    width: 100%;
    height: 30px;
    line-height: 30px;
    /*background: none!important;*/
    background: #F3F3F3;
    /*border-bottom: 2px solid #AAA;*/
    border-radius: 5px 5px 0 0;
}

/*标题*/
.windowHeaderTitle {
    float: left;
    width: 100px;
    font-size: 13px;
    font-weight: bolder;
    margin-left: 10px;
}

/*标题栏的按钮*/
.windowButton {
    position: absolute;
    top: 0;
    right: 5px;
    width: 77px;
    height: 15px;
    background: #F3F3F3;
    border-radius: 5px;
    cursor: pointer;
}

.windowButton div {
    float: left;
    width: 25px;
    background: #CECECE;
    text-align: center;
}

.windowMinimize {
    height: 15px;
    margin-right: 1px;
    border-radius: 0 0 0 5px;
    /*background: green;*/
    color: #fbb834;
}

.windowMaximize {
    height: 15px;
    margin-right: 1px;
    /*background: blue;*/
    color: #2dd537;
}

.windowClose {
    height: 15px;
    border-radius: 0 0 5px 0;
    color: #fd5950;
}

/*八个方向*/
/*用于显示变栏颜色，作为测试
.windowN, .windowE, .windowS, .windowW {
	background: red;
}

.windowNE, .windowES, .windowSW, .windowWN {
	background: green;
}
*/

.windowN {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    overflow: hidden;
    margin-top: -5px;
}

.windowE {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    overflow: hidden;
    margin-right: -3px;
}

.windowS {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    overflow: hidden;
    margin-bottom: -3px;
}

.windowW {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    overflow: hidden;
    margin-left: -3px;
}

.windowNE {
    position: absolute;
    right: 0;
    top: 0;
    width: 5px;
    height: 5px;
    overflow: hidden;
    margin: -3px -3px 0 0;
}

.windowES {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 5px;
    height: 5px;
    overflow: hidden;
    margin: 0 -3px -3px 0;
}

.windowSW {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 5px;
    height: 5px;
    overflow: hidden;
    margin: 0 0 -3px -3px;
}

.windowWN {
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 5px;
    overflow: hidden;
    margin: -3px 0 0 -3px;
}

/*改变大小时的预览DIV*/
#windowPreview {
    display: none;
    position: absolute;
    z-index: 9999;
    background: #8EC6FF;

    border-radius: 8px;
    opacity: 0.4;
    filter: alpha(opacity=40);
}

.desktop {
    height: 650px;
    margin-top: 30px;
    -webkit-column-count: auto;
    -webkit-column-width: 80px;
    -moz-column-width: 80px;
    -webkit-column-gap: 0px;
    -moz-column-gap: 0px;
    writing-mode: tb-lr;

}

.desktop .shortcut {
    margin: 10px;
    display: inline-block;
    width: 40px;
    text-align: center;
    writing-mode: lr-tb;
    position: relative;
}
.desktop .shortcut .remove{
    position: absolute;
    top: 0;
    right: 0;
    font-size: 6px;
    color: white;
    cursor: pointer;
}
.desktop .shortcut:hover {
    background-color: rgba(98, 167, 227, 0.5);
}

.desktop .shortcut .icon {
    width: 40px;
    height: 40px;
}

.desktop .shortcut .title {
    font-size: 8px;
    color: #FFFFFF;
    height: 40px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    cursor: inherit;
    width: 40px;
    float: left;

}
.desktop .shortcut .icon {
    background: url("../fileicon/file.svg") no-repeat center;
    background-size: 40px 40px;
}
.desktop .shortcut .icon.doc {
    background: url("../fileicon/doc.svg") no-repeat center;background-size: 40px 40px;
}
.desktop .shortcut .icon.docx {
    background: url("../fileicon/docx.svg") no-repeat center;background-size: 40px 40px;
}
.desktop .shortcut .icon.json {
    background: url("../fileicon/json.svg") no-repeat center;background-size: 40px 40px;
}
.desktop .shortcut .icon.pdf {
    background: url("../fileicon/pdf.svg") no-repeat center;background-size: 40px 40px;
}
.desktop .shortcut .icon.ppt {
    background: url("../fileicon/doc.svg") no-repeat center;background-size: 40px 40px;
}
.desktop .shortcut .icon.pptx {
    background: url("../fileicon/doc.svg") no-repeat center;background-size: 40px 40px;
}
.desktop .shortcut .icon.txt {
    background: url("../fileicon/txt.svg") no-repeat center;background-size: 40px 40px;
}
.desktop .shortcut .icon.xls {
    background: url("../fileicon/xls.svg") no-repeat center;background-size: 40px 40px;
}
.desktop .shortcut .icon.xlsx {
    background: url("../fileicon/xlsx.svg") no-repeat center;background-size: 40px 40px;
}
